package com.chuangke.metadata.entity;

import com.chuangke.framework.model.BasicModel;

/**
 * @date : 2024-1-3
 */
public class SysSchemaColumn extends BasicModel {

    /** 数据库 */
    private String tableId ;
    /** 字段名 */
    private String name ;
    /** 别名 */
    private String alias ;
    /** 数据类型 */
    private String type ;
    /** 长度 */
    private Integer length ;
    /** 精度 */
    private Integer accuracy ;
    /** 是否允许空值 */
    private String isNull ;
    /** 默认值 */
    private String defaultValue ;
    /** 是否主键 */
    private String isPk ;
    /** 字段类型 */
    private String pvType ;

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Integer accuracy) {
        this.accuracy = accuracy;
    }

    public String getIsNull() {
        return isNull;
    }

    public void setIsNull(String isNull) {
        this.isNull = isNull;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getIsPk() {
        return isPk;
    }

    public void setIsPk(String isPk) {
        this.isPk = isPk;
    }

    public String getPvType() {
        return pvType;
    }

    public void setPvType(String pvType) {
        this.pvType = pvType;
    }
}